package cn.stard;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/*启动springboot启动类注解*/
@SpringBootApplication
// 扫描mapper接口配置
@MapperScan("cn.stard.*.mapper")
// 给监听器扫描包的注解
@ServletComponentScan(value = {"cn.stard.basic.listener"})
public class PetHomeAPP {
    public static void main(String[] args) {
        SpringApplication.run(PetHomeAPP.class,args);
    }
}
